package com.xy.mapper.system;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xy.model.po.system.MenuPO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MenuMapper extends BaseMapper<MenuPO> {

    /**
     * 根据角色code查询菜单
     *
     * @param roleCodeList 角色code
     * @return
     */
    List<MenuPO> queryMenuByRoleCodes(@Param("roleCodeList") List<String> roleCodeList);
}
